package code.whmmm.util.spring.quartz.job;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * <p><b>
 * 默认定时器配置
 * </b></p>
 * <br/>
 * 创建时间: 8/28/2019 9:23 AM
 *
 * @author Zero
 */
@Component
public class DefaultJobConfig {

    @Value("${quartz.default.day.cron:0/1 * * * * ?}")
    public String dayCron;

    @Value("${quartz.default.day.enable:false}")
    public boolean dayEnable;

    @Value("${quartz.default.hour.cron:0/1 * * * * ?}")
    public String hourCron;

    @Value("${quartz.default.hour.enable:false}")
    public boolean hourEnable;


    @Value("${quartz.default.minute.cron:0/1 * * * * ?}")
    public String minuteCron;

    @Value("${quartz.default.minute.enable:false}")
    public boolean minuteEnable;


}
